package com.wcx.create.singleton;

/**
 * 项目: design-pattern-githupdemo
 * <p>
 * 功能描述: 枚举单例
 *
 * @author: WuChengXing
 * @create: 2021-01-11 23:16
 **/
public enum SingletonEnum {
    /**
     * 实例化对象
     */
    instance;

    public void method() {
        System.out.println("单例模式。。。");
    }

}
